<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>运营管理平台 - 顶十</title>
<%@include file="../include/imports.jsp"%>
<script src="/assets/js/manager/address.js"></script>
</head>
<body style="overflow: auto;">
	<div class="navbar" role="navigation">
		<%@include file="../include/top.jsp"%>
	</div>
	<div class="container-fluid content">
		<div class="row">
			<%@include file="../include/menu.jsp"%>
			<div class="main">
				<div class="row">
					<div class="col-lg-12">
						<ol class="breadcrumb">
							<li><i class="fa fa-home"></i><a href="index.do">首页</a></li>
							<li><i class="fa fa-laptop"></i><span>地区管理</span></li>
						</ol>
					</div>
				</div>
				<div class="row" style="padding-left: 12px;">
					<div id="dataTable"
						style="border-radius: 0; display: inline-block; vertical-align: middle;"></div>
					<div id="address-editer"
						style="height: 652px; border: 1px #ccc solid; display: inline-block; vertical-align: middle; background-color: #fff; width: 75%;">
						<div class="form"
							style="height: 620px; display: inline-block; width: 100%;">
							<input type="hidden" name="submit-url" value="address/update.do" />
							<input type="hidden" name="delete-url" value="address/delete.do" />
							<input type="hidden" name="parent_id" />
							<div class="input-box">
								<label class="from-label" for="id">ID：</label> 
								<input type="text" name="id" class="form-control" placeholder="ID" readonly="readonly" />
							</div>
							<div class="input-box">
								<label class="from-label" for="name">名称：</label> 
								<input type="text" allowBlank="false" name="name" class="form-control" placeholder="名称" />
							</div>
							<div class="input-box">
								<label class="from-label" for="pinyin">拼音：</label>
								<input type="text" allowBlank="false" name="pinyin" class="form-control" placeholder="拼音" />
							</div>
							<div class="input-box">
								<label class="from-label" for="zip_code">邮政编码：</label>
								<input type="text" allowBlank="false" name="zip_code" class="form-control" placeholder="邮政编码" />
							</div>
							<div class="input-box">
								<label class="from-label" for="ing">经度：</label>
								<input type="text" name="ing" class="form-control" placeholder="经度" readonly="readonly" />
							</div>
							<div class="input-box">
								<label class="from-label" for="lat">纬度：</label>
								<input type="text" name="lat" class="form-control" placeholder="纬度" readonly="readonly" />
							</div>
						</div>
						<div class="form"
							style="width: 100%; background-color: #ddd; text-align: center;">
							<input type="button" class="btn btn-sm btn-danger"
								onclick="deleteEditer(this, false, deleteCallback)" value="删除" />
							<input type="button" class="btn btn-sm btn-primary"
								onclick="addChild(this)" value="增加子级" /> <input type="button"
								class="btn btn-sm btn-info" onclick="addBrother(this)"
								value="增加同级" /> <input type="button"
								class="btn btn-sm btn-success"
								onclick="submitEditer(this, false)" value="保存" />
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<%@include file="../include/modal.jsp"%>
	<div class="clearfix"></div>
</body>
</html>